package com.example.mybatisplus.pojo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

@Data
@TableName("t_business")
@NoArgsConstructor
@AllArgsConstructor
@ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
//字段多的时候，进行写配置文件
public class Business implements Serializable {
        @TableId(value = "businessId",type = IdType.AUTO)
        private Integer businessId;
        private String businessAccount;
        private String businessPassword;
        private String businessName;
        private String businessAddress;
        private String businessExplain;
        private String businessImg;
        private Double startPrice;
        private Double deliveryPrice;
        private String remarks;


}

